//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2007 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   CATALOG_DTL_TEMPLATE
// AUTHOR           :   Craig Chun
// DATE CREATE      :   2007/07/20
// DESCRIPTION      :   a CRITERIA file for the function, CATALOG_DTL_TEMPLATE
//                  :
//                  :
//                  :
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2007/07/20   Craig Chun      1.0                 source is generated.
//
//
//
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

package com.erp.app.setup.itemDetailTemplate.criteria;

import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;
import com.erp.framework.model.criteria.SimplePageEditStyleSrchCriteria;

/**
* <p>A <strong>SrchCriteria</strong>
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this bean is to store the user search criteria input
* for database query.
*
* @author          Craig Chun
* @version 1.0     2007/07/20
* @since           FrameWork 1.0
*
*/

// Note:
// Currently only generates the first -1 fields of a table
// However, this number can be set in GenConstants.NO_CRITERIA

public class CatalogDtlTemplateSrchCriteria extends SimplePageEditStyleSrchCriteria {

	//Searching Criteria Attributes (DB Table Name: T_CATALOG_DTL_TEMPLATE)
	private String srchCompanyCode;                                                                    //DB Column Name: COMPANY_CODE
	private String srchHdrStatus;                                                                      //DB Column Name: STATUS
	private String srchNodeIdFr;                                                                       //DB Column Name: NODE_ID
	private String srchNodeIdTo;                                                                       //DB Column Name: NODE_ID
	private String srchDtlIdFr;                                                                        //DB Column Name: DTL_ID
	private String srchDtlIdTo;                                                                        //DB Column Name: DTL_ID
	private String srchHdrSeqFr;                                                                       //DB Column Name: SEQ
	private String srchHdrSeqTo;                                                                       //DB Column Name: SEQ
	private String srchHdrBrowserColumnFr;                                                             //DB Column Name: BROWSER_COLUMN
	private String srchHdrBrowserColumnTo;                                                             //DB Column Name: BROWSER_COLUMN

	private String srchitemDetailType;
	private String srchitemDetailName;

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to
	* contain the character sequence currently represented by this
	* object. This <code>String</code> is then returned. Subsequent
	* changes to this object do not affect the contents of the
	* <code>String</code>.
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Craig Chun
	* @since      Framework 1.0
	*/
	public String toString() {
		String pkStr = "PK: {srchNodeIdFr = " + this.srchNodeIdFr
			+ "\n, srchNodeIdTo = " + this.srchNodeIdTo
			+ "\n, srchDtlIdFr = " + this.srchDtlIdFr
			+ "\n, srchDtlIdTo = " + this.srchDtlIdTo + "}\n";

		String colStr = "COL: {srchHdrSeqFr = " + this.srchHdrSeqFr
			+ "\n, srchHdrSeqTo = " + this.srchHdrSeqTo
			+ "\n, srchHdrBrowserColumnFr = " + this.srchHdrBrowserColumnFr
			+ "\n, srchHdrBrowserColumnTo = " + this.srchHdrBrowserColumnTo + "}\n";

		String mandatoryStr = "{srchCompanyCode = " + this.srchCompanyCode
			+ "\n, srchHdrStatus = " + this.srchHdrStatus
			+ "}\n";

		return "toString() is:\n" + mandatoryStr + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods) for searching criterias
	////////////////////////////////////////////////////////////////////////////////

	public String getSrchCompanyCode() {
		return this.srchCompanyCode;
	}

	public String getSrchHdrStatus() {
		return this.srchHdrStatus;
	}

	public String getSrchNodeIdFr() {
		return this.srchNodeIdFr;
	}

	public String getSrchNodeIdTo() {
		return this.srchNodeIdTo;
	}

	public String getSrchDtlIdFr() {
		return this.srchDtlIdFr;
	}

	public String getSrchDtlIdTo() {
		return this.srchDtlIdTo;
	}

	public String getSrchHdrSeqFr() {
		return this.srchHdrSeqFr;
	}

	public String getSrchHdrSeqTo() {
		return this.srchHdrSeqTo;
	}

	public String getSrchHdrBrowserColumnFr() {
		return this.srchHdrBrowserColumnFr;
	}

	public String getSrchHdrBrowserColumnTo() {
		return this.srchHdrBrowserColumnTo;
	}

	public void setSrchCompanyCode(String srchCompanyCode) {
		this.srchCompanyCode = srchCompanyCode;
	}

	public void setSrchHdrStatus(String srchHdrStatus) {
		this.srchHdrStatus = srchHdrStatus;
	}

	public void setSrchNodeIdFr(String srchNodeIdFr) {
		this.srchNodeIdFr = srchNodeIdFr;
	}

	public void setSrchNodeIdTo(String srchNodeIdTo) {
		this.srchNodeIdTo = srchNodeIdTo;
	}

	public void setSrchDtlIdFr(String srchDtlIdFr) {
		this.srchDtlIdFr = srchDtlIdFr;
	}

	public void setSrchDtlIdTo(String srchDtlIdTo) {
		this.srchDtlIdTo = srchDtlIdTo;
	}

	public void setSrchHdrSeqFr(String srchHdrSeqFr) {
		this.srchHdrSeqFr = srchHdrSeqFr;
	}

	public void setSrchHdrSeqTo(String srchHdrSeqTo) {
		this.srchHdrSeqTo = srchHdrSeqTo;
	}

	public void setSrchHdrBrowserColumnFr(String srchHdrBrowserColumnFr) {
		this.srchHdrBrowserColumnFr = srchHdrBrowserColumnFr;
	}

	public void setSrchHdrBrowserColumnTo(String srchHdrBrowserColumnTo) {
		this.srchHdrBrowserColumnTo = srchHdrBrowserColumnTo;
	}

	public String getSrchitemDetailName() {
		return srchitemDetailName;
	}

	public void setSrchitemDetailName(String srchitemDetailName) {
		this.srchitemDetailName = srchitemDetailName;
	}

	public String getSrchitemDetailType() {
		return srchitemDetailType;
	}

	public void setSrchitemDetailType(String srchitemDetailType) {
		this.srchitemDetailType = srchitemDetailType;
	}



}
